import csv
import mysql_helper2

file = open("./minidata.csv", "w", encoding="utf-8", newline="")
csv_writer = csv.writer(file)
csv_writer.writerow(["review"])
res = mysql_helper2.get_mblog_by_start_id(12, 20)
for id, text in res:
    csv_writer.writerow(["13123123"])

file.close()